package io.renren.modules.sp.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.common.dao.BaseDao;
import io.renren.modules.sp.dto.SpExcludeAreaDTO;
import io.renren.modules.sp.entity.SpMatchAreaEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* 省赛按地区控制可报赛项
*
* @author whc sunlightcs@gmail.com
* @since 3.0 2024-06-16
*/
@Mapper
public interface SpMatchAreaDao extends BaseDao<SpMatchAreaEntity> {
    IPage<SpMatchAreaEntity> selectPageVo(Page page, @Param(Constants.WRAPPER) QueryWrapper<SpExcludeAreaDTO> wrapper);

    IPage<SpMatchAreaEntity> selectPage(Page page, @Param(Constants.WRAPPER) Map<String,Object> param);



}
